<template>
<div class="paper-container">
  <div class="paper-title-container v-c">
    <div class="paperIn-title">
      <span>开始答题</span>
      <div></div>
    </div>
    <img src="https://youlingqinius.wonderlandnet.cn/diaocha.png" alt="">
  </div>
  <div class="paper-intro text-center">
    <p class="paper-title">{{paperObj.title}}</p>    
    <p class="paper-content">{{paperObj.introduction}}</p>
    <div class="h-c confirm-container"><div class="paper-confirm" @click="$emit('start')">开始</div></div>
  </div>
</div>
</template>

<script>
export default {
  name: 'paperIndex',
  
  components: {},

  props: {
      paperObj: {
      type: Object,
      defalut: {}
    },
  },

  data() {
    return{
      
    }
  },

  computed: {},

  watch: {},

  created() {},

  mounted() {},

  destroyed() {},

  methods: {}

}
</script>

<style lang="less" scoped>
.paper-container{
  display: flex;
  flex-direction: column;
}
.paper-title-container{
  height: 3.3rem;
  justify-content: space-between;
  img{
    width: 2.43rem;
    height: 2.82rem;
    margin-right: 0.58rem;
  }
  .paperIn-title{
    margin-left: 0.58rem;
    span{
      font-size: 0.58rem;
      color: #3a3a3a;
      font-weight: bold;
    }
    div{
      height: 0.08rem;
      width: 0.82rem;
      background: #fb685b;
      margin-top: 0.2rem;
    }

  }
}
.paper-intro{
  min-height: 8.2rem;
  background: #ffffff;
  border-radius: 10px;
  margin: 0 0.3rem;
  .paper-title{
      font-size: 0.4rem;
      color: #3a3a3a;
      font-weight: 600;
      margin-top: 0.5rem
  }
  .paper-content{
      font-size: 0.30rem;
      color: #3a3a3a;
      text-align: start;
      line-height: 0.54rem;
      margin: 0.5rem 0.6rem 0 0.6rem;
  }
  .confirm-container{
    margin-top: 0.68rem
  }
}
</style>

